home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Extras / opussdk / include / dopus / icon.h < prev    next >
C/C++ Source or Header  |  1996-08-29  |  902b  |  33 lines

  1. #ifndef _DOPUS_ICON
  2. #define _DOPUS_ICON
  3.  
  4. /*****************************************************************************
  5.  
  6.  Icon support
  7.  
  8.  *****************************************************************************/
  9.  
  10.  
  11. // Copy icon from one file to another
  12. void CopyFileIcon(char *,char *);
  13.  
  14.  
  15. // Special icon flags
  16. #define ICONF_POSITION_OK    (1<<31)        // Opus position stored in icon
  17. #define ICONF_NO_BORDER        (1<<28)        // No icon border
  18. #define ICONF_NO_LABEL        (1<<27)        // No label
  19.  
  20. ULONG GetIconFlags(struct DiskObject *);
  21. void SetIconFlags(struct DiskObject *,ULONG);
  22. void GetIconPosition(struct DiskObject *,short *,short *);
  23. void SetIconPosition(struct DiskObject *,short,short);
  24.  
  25.  
  26. // Icon caching
  27. struct DiskObject *GetCachedDefDiskObject(long);
  28. void FreeCachedDiskObject(struct DiskObject *);
  29. struct DiskObject *GetCachedDiskObject(char *);
  30. struct DiskObject *GetCachedDiskObjectNew(char *);
  31.  
  32. #endif
  33.